<template>
  <div class="app">
    <WechatAlert v-if="isWeChat()" />
    <Resume v-else />
  </div>
</template>

<script lang="ts" setup>
const isWeChat = () => {
  const ua = navigator.userAgent.toLowerCase();
  return ua.includes('micromessenger');
};

</script>

<style scoped>
.app {
  display: flex;
  width: screen;
  background: #f8f9fa;
  overflow: hidden;
}
</style>
